#ifndef __FLY_ITEM_H__
#define __FLY_ITEM_H__
#include "cocos2d.h"
#include "gofgame/dungeonkeeper/game/Target.h"

USING_NS_CC;

namespace gofgame {
	namespace dungeonkeeper {
		namespace game {
			namespace other {
				class FlyItem : public CCSprite{
				public:
					FlyItem(Target *source,Target *target);
					~FlyItem();
					int moveSpeed;
					Target *source;
					Target *target;
					static FlyItem * create(Target *source,Target *target);
					void setMoveSpeed(int speed);
					void go();
					bool init();
					void initAnimate();
					void update(float delta);
				};
			}
		}
	}
}

#endif //__FLY_ITEM_H__
